home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-11-22 | 2.8 KB | 84 lines | [TEXT/MSET] |
- SRCCOPY -- 0 A constant, equate for drawing mode.
- SRCOR -- 1 A constant, equate for drawing mode.
- SRCXOR -- 2 A constant, equate for drawing mode.
-
-
- GRAFPORT ROUTINES
-
- >ORIGIN x y -- Calls toolbox SetOrigin.
- CONTBOT -- y Returns the bottom of the content region for the front window.
- CONTTOP -- y Returns the top of the content region for the front window.
- G->L point -- point' Convert a global point to a local point.
- L->G point -- point' Convert a local point to a global point.
- GRAPHPORT -- : name
- A standard class. Used to map into the QuickDraw GraphPort record. But
- note that most record members are not named.
- POPPORT GrafPtr -- Calls SetPort.
- PUSHPORT -- GrafPtr
- Pushes the current Graphport onto the stack as a GrafPtr. Calls GetPort.
- THEPORT -- grfptr
- Returns a grfptr from the global variable thePort, which always points to
- the current port.
- SCREENBITS -- l t r b
- Gets dimension coordinates of host machine's display via the Mac global
- variable screenbits.
- TFACE n -- A direct call to TextFace.
- TFONT n -- A direct call to TextFont.
- TMODE n -- A direct call to TextMode.
- TSIZE n -- A direct call to TextSize.
-
-
- PEN AND LINE-DRAWING ROUTINES
-
- @XY -- x y
- Via a toolbox call to GetPen, leaves the x and y coordinate of the graphics
- pen.
- GOTOXY x y -- Calls toolbox MoveTo.
- HidePen -- A direct call to HidePen.
- LINE dh dv --
- Via a call to toolbox Line, draws a line from the current pen position to
- dh and dv pixels.
- Line dh vv -- A direct call to Line.
- LineTo h v -- A direct call to LineTo.
- MOVEPEN dv dh -- A direct call to Move.
- MoveTo h v -- A direct call to MoveTo.
- ShowPen -- A direct call to ShowPen.
-
-
- CURSOR ROUTINES
-
- ARROWCURS -- Sets the cursor to this. Merely calls Toolbox InitCursor.
- CROSSCURS -- Sets the cursor to this.
- CURS -- -1 A value.
- CURSOR n -- : name
- A defining word for cursors, uses the Toolbox calls GetCursor and
- SetCursor at runtime execution of daughter words.
- IBEAMCURS -- Sets the cursor to this.
- PLUSCURS -- Sets the cursor to this.
- WATCHCURS -- Sets the cursor to this.
-
-
-
-
- PATTERN -- : name A system class, subclass of resource.
- SYSPAT idx -- obj
- Given a zero-based index, returns the system object syspattn (class
- pattern) which is a resource pattern from the SysPatList. (Is that
- clear?).
- SYSPATTN -- obj A system object. Class is pattern.
- TMPPTN -- obj A system object pointer of class pattern.
-
-
-
- POINT -- : name
- A standard class for dealing with QuickDraw points. Note that Mops prefers
- to treat all points and operations with points as 2 items on the stack,
- rather than a single packed 32-bit number.
-
- RECT -- : name
- A standard class for dealing with QuickDraw rectangles. Note that Mops
- prefers to treat rectangles, and all QuickDraw coordinates for that matter,
- in the form LEFT TOP RIGHT BOTTOM (l t r b), or x1 y1 x2 y2.
-
-
-